import time
import unittest
from selenium import webdriver
from PO.Page import Page
class Test_Case(unittest.TestCase):
    # 测试固件
    def setUp(self) -> None:
        self.driver=webdriver.Edge()
        self.driver.maximize_window()

    def tearDown(self)-> None:
        time.sleep(10)
        self.driver.quit()
    # 测试用例
    def test_baidu_01(self):
        po=Page(self.driver)
        po.baidu_luoji()
if __name__ == '__main__':
    unittest.main()